package com.sport.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
@Data
@ApiModel(value = "菜单实体")
public class SysMenu {

    private Integer id;
  @ApiModelProperty(value = "路径")
    private String path;
@ApiModelProperty(value = "头像")
    private String icon;
@ApiModelProperty(value = "标题")
    private String title;
@ApiModelProperty(value = "组件")
    private String component;
@ApiModelProperty(value = "子菜单")
    private List<SysMenu> children;

@ApiModelProperty(value = "状态")
private  boolean status;
    private List<SysMenu> menus;

//    @JsonIgnore
    @ApiModelProperty(value = "父级菜单")
    private Integer parentId;

}
